class DeskAction < ActiveRecord::Base
  validates_presence_of :effective_at, :recorded_at, :recorded_by
  
  has_one :user, :foreign_key => 'recorded_by'
  belongs_to :desk_action_aggregate,
             :class_name => 'DeskActionAggregate',
             :foreign_key => 'desk_action_aggregate_id'
end
